package org.example.util;

/**
 * @author huangshen
 * @version 0
 * @description DataUtil
 * @since 2022/1/30 21:07
 */
public class DataUtil {

    public static boolean isRemainderZero(int currRow, int maxRow) {
        if (currRow < 0 || maxRow < 0) {
            System.out.println("当前行和最大行不得小于零");
        }
        return (currRow != 0 && currRow % maxRow == 0);
    }
}
